import request from '@/utils/request'
import { getMiniAppId } from '@/utils/index'
// 分消方列表
export function distributorList(data) {
  return request({
    url: '/admin/distributor/list',
    method: 'post',
    data: data
  })
}
// 新增
export function addDistributor(data) {
  return request({
    url: '/admin/distributor/addMiniAppDistributor',
    method: 'post',
    data: data
  })
}
//
export function setStatus(data) {
  return request({
    url: '/admin/distributor/setStatus',
    method: 'post',
    data: data
  })
}